/*
 * MyBank.cn Inc.
 * Copyright (c) 2015-2021 All Rights Reserved.
 */
package me.caosh.util.test.validator;

import me.caosh.util.factory.FactoryComponent;
import org.springframework.stereotype.Component;

/**
 * @author mujiang.csh
 * @version v0.1, created at 2021/8/7 20:32
 */
@FactoryComponent(
        componentInterface = Validator.class,
        componentKey = "first"
)
@Component
public class FirstValidator implements Validator {
    @Override
    public void validate() {
        System.out.println("First validator");
    }
}